

<%@ page import="hc.uco.HistoriaPregressa" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'historiaPregressa.label', default: 'HistoriaPregressa')}" />
        <title><g:message code="default.edit.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.edit.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${historiaPregressaInstance}">
            <div class="errors">
                <g:renderErrors bean="${historiaPregressaInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form method="post" >
                <g:hiddenField name="hpId" value="${historiaPregressaInstance?.id}" />
                <g:hiddenField name="version" value="${historiaPregressaInstance?.version}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentPrimEle1"><g:message code="historiaPregressa.stentPrimEle1.label" default="Stent Prim Ele1" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentPrimEle1', 'errors')}">
                                    <g:select name="stentPrimEle1" from="${historiaPregressaInstance.constraints.stentPrimEle1.inList}" value="${historiaPregressaInstance?.stentPrimEle1}" valueMessagePrefix="historiaPregressa.stentPrimEle1"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentPrimEle2"><g:message code="historiaPregressa.stentPrimEle2.label" default="Stent Prim Ele2" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentPrimEle2', 'errors')}">
                                    <g:select name="stentPrimEle2" from="${historiaPregressaInstance.constraints.stentPrimEle2.inList}" value="${historiaPregressaInstance?.stentPrimEle2}" valueMessagePrefix="historiaPregressa.stentPrimEle2"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentPrimEle3"><g:message code="historiaPregressa.stentPrimEle3.label" default="Stent Prim Ele3" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentPrimEle3', 'errors')}">
                                    <g:select name="stentPrimEle3" from="${historiaPregressaInstance.constraints.stentPrimEle3.inList}" value="${historiaPregressaInstance?.stentPrimEle3}" valueMessagePrefix="historiaPregressa.stentPrimEle3"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentPrimEle4"><g:message code="historiaPregressa.stentPrimEle4.label" default="Stent Prim Ele4" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentPrimEle4', 'errors')}">
                                    <g:select name="stentPrimEle4" from="${historiaPregressaInstance.constraints.stentPrimEle4.inList}" value="${historiaPregressaInstance?.stentPrimEle4}" valueMessagePrefix="historiaPregressa.stentPrimEle4"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentPrimEle5"><g:message code="historiaPregressa.stentPrimEle5.label" default="Stent Prim Ele5" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentPrimEle5', 'errors')}">
                                    <g:select name="stentPrimEle5" from="${historiaPregressaInstance.constraints.stentPrimEle5.inList}" value="${historiaPregressaInstance?.stentPrimEle5}" valueMessagePrefix="historiaPregressa.stentPrimEle5"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="insuficienciaCardiacaTipo"><g:message code="historiaPregressa.insuficienciaCardiacaTipo.label" default="Insuficiencia Cardiaca Tipo" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'insuficienciaCardiacaTipo', 'errors')}">
                                    <g:select name="insuficienciaCardiacaTipo" from="${historiaPregressaInstance.constraints.insuficienciaCardiacaTipo.inList}" value="${historiaPregressaInstance?.insuficienciaCardiacaTipo}" valueMessagePrefix="historiaPregressa.insuficienciaCardiacaTipo"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="insuficienciaCardiacaClasse"><g:message code="historiaPregressa.insuficienciaCardiacaClasse.label" default="Insuficiencia Cardiaca Classe" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'insuficienciaCardiacaClasse', 'errors')}">
                                    <g:select name="insuficienciaCardiacaClasse" from="${historiaPregressaInstance.constraints.insuficienciaCardiacaClasse.inList}" value="${fieldValue(bean: historiaPregressaInstance, field: 'insuficienciaCardiacaClasse')}" valueMessagePrefix="historiaPregressa.insuficienciaCardiacaClasse" noSelection="['': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="dmiAno"><g:message code="historiaPregressa.dmiAno.label" default="Dmi Ano" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'dmiAno', 'errors')}">
                                    <g:select name="dmiAno" from="${1900..2050}" value="${fieldValue(bean: historiaPregressaInstance, field: 'dmiAno')}" noSelection="['': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="dmiiAno"><g:message code="historiaPregressa.dmiiAno.label" default="Dmii Ano" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'dmiiAno', 'errors')}">
                                    <g:select name="dmiiAno" from="${1900..2050}" value="${fieldValue(bean: historiaPregressaInstance, field: 'dmiiAno')}" noSelection="['': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="hasAno"><g:message code="historiaPregressa.hasAno.label" default="Has Ano" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'hasAno', 'errors')}">
                                    <g:select name="hasAno" from="${1900..2050}" value="${fieldValue(bean: historiaPregressaInstance, field: 'hasAno')}" noSelection="['': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="chagasAno"><g:message code="historiaPregressa.chagasAno.label" default="Chagas Ano" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'chagasAno', 'errors')}">
                                    <g:select name="chagasAno" from="${1900..2050}" value="${fieldValue(bean: historiaPregressaInstance, field: 'chagasAno')}" noSelection="['': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="outros"><g:message code="historiaPregressa.outros.label" default="Outros" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'outros', 'errors')}">
                                    <g:textArea name="outros" cols="40" rows="5" value="${historiaPregressaInstance?.outros}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="angioplastia"><g:message code="historiaPregressa.angioplastia.label" default="Angioplastia" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'angioplastia', 'errors')}">
                                    <g:checkBox name="angioplastia" value="${historiaPregressaInstance?.angioplastia}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="angioplastiaData1"><g:message code="historiaPregressa.angioplastiaData1.label" default="Angioplastia Data1" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'angioplastiaData1', 'errors')}">
                                    <g:datePicker name="angioplastiaData1" precision="day" value="${historiaPregressaInstance?.angioplastiaData1}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="angioplastiaData2"><g:message code="historiaPregressa.angioplastiaData2.label" default="Angioplastia Data2" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'angioplastiaData2', 'errors')}">
                                    <g:datePicker name="angioplastiaData2" precision="day" value="${historiaPregressaInstance?.angioplastiaData2}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="angioplastiaData3"><g:message code="historiaPregressa.angioplastiaData3.label" default="Angioplastia Data3" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'angioplastiaData3', 'errors')}">
                                    <g:datePicker name="angioplastiaData3" precision="day" value="${historiaPregressaInstance?.angioplastiaData3}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="angioplastiaData4"><g:message code="historiaPregressa.angioplastiaData4.label" default="Angioplastia Data4" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'angioplastiaData4', 'errors')}">
                                    <g:datePicker name="angioplastiaData4" precision="day" value="${historiaPregressaInstance?.angioplastiaData4}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="angioplastiaData5"><g:message code="historiaPregressa.angioplastiaData5.label" default="Angioplastia Data5" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'angioplastiaData5', 'errors')}">
                                    <g:datePicker name="angioplastiaData5" precision="day" value="${historiaPregressaInstance?.angioplastiaData5}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="avc"><g:message code="historiaPregressa.avc.label" default="Avc" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'avc', 'errors')}">
                                    <g:checkBox name="avc" value="${historiaPregressaInstance?.avc}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="avcData1"><g:message code="historiaPregressa.avcData1.label" default="Avc Data1" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'avcData1', 'errors')}">
                                    <g:datePicker name="avcData1" precision="day" value="${historiaPregressaInstance?.avcData1}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="avcData2"><g:message code="historiaPregressa.avcData2.label" default="Avc Data2" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'avcData2', 'errors')}">
                                    <g:datePicker name="avcData2" precision="day" value="${historiaPregressaInstance?.avcData2}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="chagas"><g:message code="historiaPregressa.chagas.label" default="Chagas" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'chagas', 'errors')}">
                                    <g:checkBox name="chagas" value="${historiaPregressaInstance?.chagas}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="dataParada"><g:message code="historiaPregressa.dataParada.label" default="Data Parada" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'dataParada', 'errors')}">
                                    <g:datePicker name="dataParada" precision="day" value="${historiaPregressaInstance?.dataParada}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="dmi"><g:message code="historiaPregressa.dmi.label" default="Dmi" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'dmi', 'errors')}">
                                    <g:checkBox name="dmi" value="${historiaPregressaInstance?.dmi}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="dmii"><g:message code="historiaPregressa.dmii.label" default="Dmii" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'dmii', 'errors')}">
                                    <g:checkBox name="dmii" value="${historiaPregressaInstance?.dmii}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="exTabagista"><g:message code="historiaPregressa.exTabagista.label" default="Ex Tabagista" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'exTabagista', 'errors')}">
                                    <g:checkBox name="exTabagista" value="${historiaPregressaInstance?.exTabagista}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="has"><g:message code="historiaPregressa.has.label" default="Has" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'has', 'errors')}">
                                    <g:checkBox name="has" value="${historiaPregressaInstance?.has}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="histFamiliar"><g:message code="historiaPregressa.histFamiliar.label" default="Hist Familiar" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'histFamiliar', 'errors')}">
                                    <g:checkBox name="histFamiliar" value="${historiaPregressaInstance?.histFamiliar}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="iam"><g:message code="historiaPregressa.iam.label" default="Iam" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'iam', 'errors')}">
                                    <g:checkBox name="iam" value="${historiaPregressaInstance?.iam}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="iamData1"><g:message code="historiaPregressa.iamData1.label" default="Iam Data1" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'iamData1', 'errors')}">
                                    <g:datePicker name="iamData1" precision="day" value="${historiaPregressaInstance?.iamData1}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="iamData2"><g:message code="historiaPregressa.iamData2.label" default="Iam Data2" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'iamData2', 'errors')}">
                                    <g:datePicker name="iamData2" precision="day" value="${historiaPregressaInstance?.iamData2}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="iamData3"><g:message code="historiaPregressa.iamData3.label" default="Iam Data3" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'iamData3', 'errors')}">
                                    <g:datePicker name="iamData3" precision="day" value="${historiaPregressaInstance?.iamData3}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="insuficienciaCardiaca"><g:message code="historiaPregressa.insuficienciaCardiaca.label" default="Insuficiencia Cardiaca" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'insuficienciaCardiaca', 'errors')}">
                                    <g:checkBox name="insuficienciaCardiaca" value="${historiaPregressaInstance?.insuficienciaCardiaca}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="macosDia"><g:message code="historiaPregressa.macosDia.label" default="Macos Dia" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'macosDia', 'errors')}">
                                    <g:textField name="macosDia" value="${fieldValue(bean: historiaPregressaInstance, field: 'macosDia')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="numAno"><g:message code="historiaPregressa.numAno.label" default="Num Ano" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'numAno', 'errors')}">
                                    <g:textField name="numAno" value="${fieldValue(bean: historiaPregressaInstance, field: 'numAno')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="paciente"><g:message code="historiaPregressa.paciente.label" default="Paciente" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'paciente', 'errors')}">
                                    <g:select name="paciente.id" from="${hc.uco.Paciente.list()}" optionKey="id" value="${historiaPregressaInstance?.paciente?.id}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="rvm"><g:message code="historiaPregressa.rvm.label" default="Rvm" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'rvm', 'errors')}">
                                    <g:checkBox name="rvm" value="${historiaPregressaInstance?.rvm}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="rvmData"><g:message code="historiaPregressa.rvmData.label" default="Rvm Data" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'rvmData', 'errors')}">
                                    <g:datePicker name="rvmData" precision="day" value="${historiaPregressaInstance?.rvmData}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="rvmEnxertos"><g:message code="historiaPregressa.rvmEnxertos.label" default="Rvm Enxertos" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'rvmEnxertos', 'errors')}">
                                    <g:textField name="rvmEnxertos" value="${historiaPregressaInstance?.rvmEnxertos}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="sedentarismo"><g:message code="historiaPregressa.sedentarismo.label" default="Sedentarismo" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'sedentarismo', 'errors')}">
                                    <g:checkBox name="sedentarismo" value="${historiaPregressaInstance?.sedentarismo}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stent1"><g:message code="historiaPregressa.stent1.label" default="Stent1" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stent1', 'errors')}">
                                    <g:checkBox name="stent1" value="${historiaPregressaInstance?.stent1}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stent2"><g:message code="historiaPregressa.stent2.label" default="Stent2" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stent2', 'errors')}">
                                    <g:checkBox name="stent2" value="${historiaPregressaInstance?.stent2}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stent3"><g:message code="historiaPregressa.stent3.label" default="Stent3" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stent3', 'errors')}">
                                    <g:checkBox name="stent3" value="${historiaPregressaInstance?.stent3}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stent4"><g:message code="historiaPregressa.stent4.label" default="Stent4" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stent4', 'errors')}">
                                    <g:checkBox name="stent4" value="${historiaPregressaInstance?.stent4}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stent5"><g:message code="historiaPregressa.stent5.label" default="Stent5" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stent5', 'errors')}">
                                    <g:checkBox name="stent5" value="${historiaPregressaInstance?.stent5}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentTipo1"><g:message code="historiaPregressa.stentTipo1.label" default="Stent Tipo1" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentTipo1', 'errors')}">
                                    <g:textField name="stentTipo1" value="${historiaPregressaInstance?.stentTipo1}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentTipo2"><g:message code="historiaPregressa.stentTipo2.label" default="Stent Tipo2" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentTipo2', 'errors')}">
                                    <g:textField name="stentTipo2" value="${historiaPregressaInstance?.stentTipo2}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentTipo3"><g:message code="historiaPregressa.stentTipo3.label" default="Stent Tipo3" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentTipo3', 'errors')}">
                                    <g:textField name="stentTipo3" value="${historiaPregressaInstance?.stentTipo3}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentTipo4"><g:message code="historiaPregressa.stentTipo4.label" default="Stent Tipo4" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentTipo4', 'errors')}">
                                    <g:textField name="stentTipo4" value="${historiaPregressaInstance?.stentTipo4}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stentTipo5"><g:message code="historiaPregressa.stentTipo5.label" default="Stent Tipo5" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'stentTipo5', 'errors')}">
                                    <g:textField name="stentTipo5" value="${historiaPregressaInstance?.stentTipo5}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="tabagista"><g:message code="historiaPregressa.tabagista.label" default="Tabagista" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: historiaPregressaInstance, field: 'tabagista', 'errors')}">
                                    <g:checkBox name="tabagista" value="${historiaPregressaInstance?.tabagista}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
